.class Limoblife/yogamoment/lite/MainActivity$18;
.super Ljava/lang/Object;
.source "MainActivity.java"

# interfaces
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/MainActivity;->initvolumSize(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/yogamoment/lite/MainActivity;

.field private final synthetic val$audioManager:Landroid/media/AudioManager;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/MainActivity;Landroid/media/AudioManager;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/MainActivity$18;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iput-object p2, p0, Limoblife/yogamoment/lite/MainActivity$18;->val$audioManager:Landroid/media/AudioManager;

    .line 819
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
    .locals 5
    .parameter "seekBar"
    .parameter "progress"
    .parameter "fromUser"

    .prologue
    const/4 v4, 0x3

    .line 833
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity$18;->val$audioManager:Landroid/media/AudioManager;

    .line 834
    invoke-virtual {v1, v4}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v1

    int-to-float v1, v1

    const/high16 v2, 0x42c8

    .line 833
    div-float/2addr v1, v2

    .line 835
    int-to-float v2, p2

    .line 833
    mul-float v0, v1, v2

    .line 837
    .local v0, size:F
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity$18;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iput p2, v1, Limoblife/yogamoment/lite/MainActivity;->volumSizes:I

    .line 838
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity$18;->val$audioManager:Landroid/media/AudioManager;

    .line 839
    float-to-int v2, v0

    const/4 v3, 0x0

    .line 838
    invoke-virtual {v1, v4, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V

    .line 840
    return-void
.end method

.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 0
    .parameter "seekBar"

    .prologue
    .line 828
    return-void
.end method

.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 0
    .parameter "seekBar"

    .prologue
    .line 823
    return-void
.end method
